package cn.meomis.service;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import cn.meomis.common.entity.Pagination;
import cn.meomis.model.Value;


public interface ValueService {

	List<Value> findAll();

	void save(Value demo);

	public void removeById(Integer id);

	Pagination pageQueryByHql(String hql, Object[] values,
			String countHql, int pageNumber, int pageSize);
	
	public List<Value> queryList(DetachedCriteria criteria);

	Value findById(int parseInt);
    
}
